<form id="edit-form" class="form-horizontal" style="position:relative;background: #fff" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="panel-body">
        <div id="myTabContent" class="tab-content" >
            <div class="tab-pane fade active in" id="tabs_0">
                <input type="hidden" id="row" name="data" value='<?php echo json_encode($row);?>' />
                <input type="hidden" id="id" name="row[id]" value='{$row.id}' />
                <div class="form-group">
                        <label for="c-name" class="control-label col-xs-12 col-sm-2">姓名:</label>
                        <div class="col-xs-12 col-sm-8" id="div-name" >
                            <input type="text" id="c-name" name="row[name]" value="{$row.name}" class="form-control" title="name"  placeholder="" data-rule=""  data-tip="姓名"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-gender" class="control-label col-xs-12 col-sm-2">性别:</label>
                        <div class="col-xs-12 col-sm-8" id="div-gender" >
                            <label for="row[gender]-男"><input id="row[gender]-男" name="row[gender]" type="radio" value="男" {if $row["gender"]=="男"}checked{/if} /> 男</label>

                            <label for="row[gender]-女"><input id="row[gender]-女" name="row[gender]" type="radio" value="女" {if $row["gender"]=="女"}checked{/if} /> 女</label>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-ethnicity" class="control-label col-xs-12 col-sm-2">民族:</label>
                        <div class="col-xs-12 col-sm-8" id="div-ethnicity" >
                           <select name="row[ethnicity]" id="c-ethnicity"  class="form-control selectpicker"  data-rule=""  >
                               <option value="汉族" {if $row["ethnicity"]=="汉族"} selected{/if}>汉族</option>
                               <option value="蒙古族" {if $row["ethnicity"]=="蒙古族"} selected{/if}>蒙古族</option>
                               <option value="回族" {if $row["ethnicity"]=="回族"} selected{/if}>回族</option>
                               <option value="藏族" {if $row["ethnicity"]=="藏族"} selected{/if}>藏族</option>
                               <option value="维吾尔族" {if $row["ethnicity"]=="维吾尔族"} selected{/if}>维吾尔族</option>
                               <option value="苗族" {if $row["ethnicity"]=="苗族"} selected{/if}>苗族</option>
                               <option value="彝族" {if $row["ethnicity"]=="彝族"} selected{/if}>彝族</option>
                               <option value="壮族" {if $row["ethnicity"]=="壮族"} selected{/if}>壮族</option>
                               <option value="布依族" {if $row["ethnicity"]=="布依族"} selected{/if}>布依族</option>
                               <option value="朝鲜族" {if $row["ethnicity"]=="朝鲜族"} selected{/if}>朝鲜族</option>
                               <option value="满族" {if $row["ethnicity"]=="满族"} selected{/if}>满族</option>
                               <option value="侗族" {if $row["ethnicity"]=="侗族"} selected{/if}>侗族</option>
                               <option value="瑶族" {if $row["ethnicity"]=="瑶族"} selected{/if}>瑶族</option>
                               <option value="白族" {if $row["ethnicity"]=="白族"} selected{/if}>白族</option>
                               <option value="土家族" {if $row["ethnicity"]=="土家族"} selected{/if}>土家族</option>
                               <option value="哈尼族" {if $row["ethnicity"]=="哈尼族"} selected{/if}>哈尼族</option>
                               <option value="哈萨克族" {if $row["ethnicity"]=="哈萨克族"} selected{/if}>哈萨克族</option>
                               <option value="傣族" {if $row["ethnicity"]=="傣族"} selected{/if}>傣族</option>
                               <option value="黎族" {if $row["ethnicity"]=="黎族"} selected{/if}>黎族</option>
                               <option value="傈僳族" {if $row["ethnicity"]=="傈僳族"} selected{/if}>傈僳族</option>
                               <option value="佤族" {if $row["ethnicity"]=="佤族"} selected{/if}>佤族</option>
                               <option value="畲族" {if $row["ethnicity"]=="畲族"} selected{/if}>畲族</option>
                               <option value="高山族" {if $row["ethnicity"]=="高山族"} selected{/if}>高山族</option>
                               <option value="拉祜族" {if $row["ethnicity"]=="拉祜族"} selected{/if}>拉祜族</option>
                               <option value="水族" {if $row["ethnicity"]=="水族"} selected{/if}>水族</option>
                               <option value="东乡族" {if $row["ethnicity"]=="东乡族"} selected{/if}>东乡族</option>
                               <option value="纳西族" {if $row["ethnicity"]=="纳西族"} selected{/if}>纳西族</option>
                               <option value="景颇族" {if $row["ethnicity"]=="景颇族"} selected{/if}>景颇族</option>
                               <option value="柯尔克孜族" {if $row["ethnicity"]=="柯尔克孜族"} selected{/if}>柯尔克孜族</option>
                               <option value="土族" {if $row["ethnicity"]=="土族"} selected{/if}>土族</option>
                               <option value="达斡尔族" {if $row["ethnicity"]=="达斡尔族"} selected{/if}>达斡尔族</option>
                               <option value="仫佬族" {if $row["ethnicity"]=="仫佬族"} selected{/if}>仫佬族</option>
                               <option value="羌族" {if $row["ethnicity"]=="羌族"} selected{/if}>羌族</option>
                               <option value="布朗族" {if $row["ethnicity"]=="布朗族"} selected{/if}>布朗族</option>
                               <option value="撒拉族" {if $row["ethnicity"]=="撒拉族"} selected{/if}>撒拉族</option>
                               <option value="毛南族" {if $row["ethnicity"]=="毛南族"} selected{/if}>毛南族</option>
                               <option value="仡佬族" {if $row["ethnicity"]=="仡佬族"} selected{/if}>仡佬族</option>
                               <option value="锡伯族" {if $row["ethnicity"]=="锡伯族"} selected{/if}>锡伯族</option>
                               <option value="阿昌族" {if $row["ethnicity"]=="阿昌族"} selected{/if}>阿昌族</option>
                               <option value="普米族" {if $row["ethnicity"]=="普米族"} selected{/if}>普米族</option>
                               <option value="塔吉克族" {if $row["ethnicity"]=="塔吉克族"} selected{/if}>塔吉克族</option>
                               <option value="怒族" {if $row["ethnicity"]=="怒族"} selected{/if}>怒族</option>
                               <option value="乌孜别克族" {if $row["ethnicity"]=="乌孜别克族"} selected{/if}>乌孜别克族</option>
                               <option value="俄罗斯族" {if $row["ethnicity"]=="俄罗斯族"} selected{/if}>俄罗斯族</option>
                               <option value="鄂温克族" {if $row["ethnicity"]=="鄂温克族"} selected{/if}>鄂温克族</option>
                               <option value="德昂族" {if $row["ethnicity"]=="德昂族"} selected{/if}>德昂族</option>
                               <option value="保安族" {if $row["ethnicity"]=="保安族"} selected{/if}>保安族</option>
                               <option value="裕固族" {if $row["ethnicity"]=="裕固族"} selected{/if}>裕固族</option>
                               <option value="京族" {if $row["ethnicity"]=="京族"} selected{/if}>京族</option>
                               <option value="塔塔尔族" {if $row["ethnicity"]=="塔塔尔族"} selected{/if}>塔塔尔族</option>
                               <option value="独龙族" {if $row["ethnicity"]=="独龙族"} selected{/if}>独龙族</option>
                               <option value="鄂伦春族" {if $row["ethnicity"]=="鄂伦春族"} selected{/if}>鄂伦春族</option>
                               <option value="赫哲族" {if $row["ethnicity"]=="赫哲族"} selected{/if}>赫哲族</option>
                               <option value="门巴族" {if $row["ethnicity"]=="门巴族"} selected{/if}>门巴族</option>
                               <option value="珞巴族" {if $row["ethnicity"]=="珞巴族"} selected{/if}>珞巴族</option>
                               <option value="基诺族" {if $row["ethnicity"]=="基诺族"} selected{/if}>基诺族</option>
                           </select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-age" class="control-label col-xs-12 col-sm-2">年龄:</label>
                        <div class="col-xs-12 col-sm-8" id="div-age" >
                            <input type="number" id="c-age" name="row[age]" value="{$row.age}" class="form-control" title="age" data-rule="integer" placeholder="只能填入整数"  data-tip="年龄"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-email" class="control-label col-xs-12 col-sm-2">邮箱:</label>
                        <div class="col-xs-12 col-sm-8" id="div-email" >
                            <input type="text" id="c-email" name="row[email]" value="{$row.email}" class="form-control" title="email"  placeholder="" data-rule=""  data-tip="邮箱"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-is_party_member" class="control-label col-xs-12 col-sm-2">是否党员:</label>
                        <div class="col-xs-12 col-sm-8" id="div-is_party_member" >
                            <input type="text" id="c-is_party_member" name="row[is_party_member]" value="{$row.is_party_member}" class="form-control" title="is_party_member"  placeholder="" data-rule=""  data-tip="是否党员"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-id_card_number" class="control-label col-xs-12 col-sm-2">身份证号码:</label>
                        <div class="col-xs-12 col-sm-8" id="div-id_card_number" >
                            <input type="text" id="c-id_card_number" name="row[id_card_number]" value="{$row.id_card_number}" class="form-control" title="id_card_number"  placeholder="" data-rule=""  data-tip="身份证号码"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-phone" class="control-label col-xs-12 col-sm-2">个人联系电话:</label>
                        <div class="col-xs-12 col-sm-8" id="div-phone" >
                            <input type="text" id="c-phone" name="row[phone]" value="{$row.phone}" class="form-control" title="phone"  placeholder="" data-rule=""  data-tip="个人联系电话"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-id_card_address" class="control-label col-xs-12 col-sm-2">身份证地址:</label>
                        <div class="col-xs-12 col-sm-8" id="div-id_card_address" >
                            <input type="text" id="c-id_card_address" name="row[id_card_address]" value="{$row.id_card_address}" class="form-control" title="id_card_address"  placeholder="" data-rule=""  data-tip="身份证地址"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-person_category" class="control-label col-xs-12 col-sm-2">人员类型:</label>
                        <div class="col-xs-12 col-sm-8" id="div-person_category" >
                           <label for="row[person_category][]-困难家庭劳动者"><input id="row[person_category][]-困难家庭劳动者" name="row[person_category][]" type="checkbox" value="困难家庭劳动者" data-tip="人员类型" {if in_array("困难家庭劳动者",explode(",",$row.person_category))}checked{/if} /> 困难家庭劳动者</label>
                           <label for="row[person_category][]-应届毕业生（高校、职业院校）"><input id="row[person_category][]-应届毕业生（高校、职业院校）" name="row[person_category][]" type="checkbox" value="应届毕业生（高校、职业院校）" data-tip="人员类型" {if in_array("应届毕业生（高校、职业院校）",explode(",",$row.person_category))}checked{/if} /> 应届毕业生（高校、职业院校）</label>
                           <label for="row[person_category][]-农村转移就业劳动者"><input id="row[person_category][]-农村转移就业劳动者" name="row[person_category][]" type="checkbox" value="农村转移就业劳动者" data-tip="人员类型" {if in_array("农村转移就业劳动者",explode(",",$row.person_category))}checked{/if} /> 农村转移就业劳动者</label>
                           <label for="row[person_category][]-城镇登记失业人员"><input id="row[person_category][]-城镇登记失业人员" name="row[person_category][]" type="checkbox" value="城镇登记失业人员" data-tip="人员类型" {if in_array("城镇登记失业人员",explode(",",$row.person_category))}checked{/if} /> 城镇登记失业人员</label>
                           <label for="row[person_category][]-未继续升学应届初高中毕（肄）业生"><input id="row[person_category][]-未继续升学应届初高中毕（肄）业生" name="row[person_category][]" type="checkbox" value="未继续升学应届初高中毕（肄）业生" data-tip="人员类型" {if in_array("未继续升学应届初高中毕（肄）业生",explode(",",$row.person_category))}checked{/if} /> 未继续升学应届初高中毕（肄）业生</label>
                           <label for="row[person_category][]-企业在岗职工"><input id="row[person_category][]-企业在岗职工" name="row[person_category][]" type="checkbox" value="企业在岗职工" data-tip="人员类型" {if in_array("企业在岗职工",explode(",",$row.person_category))}checked{/if} /> 企业在岗职工</label>
                           <label for="row[person_category][]-就业帮扶车间和农民专业合作社用工"><input id="row[person_category][]-就业帮扶车间和农民专业合作社用工" name="row[person_category][]" type="checkbox" value="就业帮扶车间和农民专业合作社用工" data-tip="人员类型" {if in_array("就业帮扶车间和农民专业合作社用工",explode(",",$row.person_category))}checked{/if} /> 就业帮扶车间和农民专业合作社用工</label>
                           <label for="row[person_category][]-灵活就业人员"><input id="row[person_category][]-灵活就业人员" name="row[person_category][]" type="checkbox" value="灵活就业人员" data-tip="人员类型" {if in_array("灵活就业人员",explode(",",$row.person_category))}checked{/if} /> 灵活就业人员</label>
                           <label for="row[person_category][]-退役军人"><input id="row[person_category][]-退役军人" name="row[person_category][]" type="checkbox" value="退役军人" data-tip="人员类型" {if in_array("退役军人",explode(",",$row.person_category))}checked{/if} /> 退役军人</label>
                           <label for="row[person_category][]-残疾人"><input id="row[person_category][]-残疾人" name="row[person_category][]" type="checkbox" value="残疾人" data-tip="人员类型" {if in_array("残疾人",explode(",",$row.person_category))}checked{/if} /> 残疾人</label>
                           <label for="row[person_category][]-其他"><input id="row[person_category][]-其他" name="row[person_category][]" type="checkbox" value="其他" data-tip="人员类型" {if in_array("其他",explode(",",$row.person_category))}checked{/if} /> 其他</label>                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-additional_info" class="control-label col-xs-12 col-sm-2">附加信息:</label>
                        <div class="col-xs-12 col-sm-8" id="div-additional_info" >
                            <textarea name="row[additional_info]" id="c-additional_info" class="form-control" data-rule="" rows="5" data-tip="附加信息" >{$row.additional_info}</textarea>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-employment_status" class="control-label col-xs-12 col-sm-2">就业状况:</label>
                        <div class="col-xs-12 col-sm-8" id="div-employment_status" >
                            <label for="row[employment_status]-已就业"><input id="row[employment_status]-已就业" name="row[employment_status]" type="radio" value="已就业" {if $row["employment_status"]=="已就业"}checked{/if} /> 已就业</label>

                            <label for="row[employment_status]-未就业"><input id="row[employment_status]-未就业" name="row[employment_status]" type="radio" value="未就业" {if $row["employment_status"]=="未就业"}checked{/if} /> 未就业</label>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-occupation" class="control-label col-xs-12 col-sm-2">从事工种或岗位:</label>
                        <div class="col-xs-12 col-sm-8" id="div-occupation" >
                            <input type="text" id="c-occupation" name="row[occupation]" value="{$row.occupation}" class="form-control" title="occupation"  placeholder="" data-rule=""  data-tip="从事工种或岗位"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-entrepreneurship_status" class="control-label col-xs-12 col-sm-2">创业情况:</label>
                        <div class="col-xs-12 col-sm-8" id="div-entrepreneurship_status" >
                            <label for="row[entrepreneurship_status]-已创业"><input id="row[entrepreneurship_status]-已创业" name="row[entrepreneurship_status]" type="radio" value="已创业" {if $row["entrepreneurship_status"]=="已创业"}checked{/if} /> 已创业</label>

                            <label for="row[entrepreneurship_status]-未创业"><input id="row[entrepreneurship_status]-未创业" name="row[entrepreneurship_status]" type="radio" value="未创业" {if $row["entrepreneurship_status"]=="未创业"}checked{/if} /> 未创业</label>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-entrepreneurship_project" class="control-label col-xs-12 col-sm-2">创业项目:</label>
                        <div class="col-xs-12 col-sm-8" id="div-entrepreneurship_project" >
                            <input type="text" id="c-entrepreneurship_project" name="row[entrepreneurship_project]" value="{$row.entrepreneurship_project}" class="form-control" title="entrepreneurship_project"  placeholder="" data-rule=""  data-tip="创业项目"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-training_wish_occupation" class="control-label col-xs-12 col-sm-2">培训意愿职业/工种:</label>
                        <div class="col-xs-12 col-sm-8" id="div-training_wish_occupation" >
                            <input type="text" id="c-training_wish_occupation" name="row[training_wish_occupation]" value="{$row.training_wish_occupation}" class="form-control" title="training_wish_occupation"  placeholder="" data-rule=""  data-tip="培训意愿职业/工种"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-training_level" class="control-label col-xs-12 col-sm-2">培训等级:</label>
                        <div class="col-xs-12 col-sm-8" id="div-training_level" >
                            <input type="text" id="c-training_level" name="row[training_level]" value="{$row.training_level}" class="form-control" title="training_level"  placeholder="" data-rule=""  data-tip="培训等级"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-self_statement" class="control-label col-xs-12 col-sm-2">本人抄写声明:</label>
                        <div class="col-xs-12 col-sm-8" id="div-self_statement" >
                            <textarea name="row[self_statement]" id="c-self_statement" class="form-control" data-rule="" rows="5" data-tip="本人抄写声明" >{$row.self_statement}</textarea>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-applicant" class="control-label col-xs-12 col-sm-2">申请人:</label>
                        <div class="col-xs-12 col-sm-8" id="div-applicant" >
                            <input type="text" id="c-applicant" name="row[applicant]" value="{$row.applicant}" class="form-control" title="applicant"  placeholder="" data-rule=""  data-tip="申请人"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-application_date" class="control-label col-xs-12 col-sm-2">申请日期:</label>
                        <div class="col-xs-12 col-sm-8" id="div-application_date" >                          <div class="form-inline">
                                <input type="text"  id="c-application_date" name="row[application_date]" value="{$row.application_date}" class="form-control datetimepicker"  data-date-format="YYYY-MM-DD" data-tip="申请日期" data-rule=""  />
                            </div>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-verifier" class="control-label col-xs-12 col-sm-2">培训机构经办人:</label>
                        <div class="col-xs-12 col-sm-8" id="div-verifier" >
                            <input type="text" id="c-verifier" name="row[verifier]" value="{$row.verifier}" class="form-control" title="verifier"  placeholder="" data-rule=""  data-tip="培训机构经办人"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-verification_unit" class="control-label col-xs-12 col-sm-2">培训机构单位名称:</label>
                        <div class="col-xs-12 col-sm-8" id="div-verification_unit" >
                            <input type="text" id="c-verification_unit" name="row[verification_unit]" value="{$row.verification_unit}" class="form-control" title="verification_unit"  placeholder="" data-rule=""  data-tip="培训机构单位名称"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-verification_date" class="control-label col-xs-12 col-sm-2">培训机构核查日期:</label>
                        <div class="col-xs-12 col-sm-8" id="div-verification_date" >                          <div class="form-inline">
                                <input type="text"  id="c-verification_date" name="row[verification_date]" value="{$row.verification_date}" class="form-control datetimepicker"  data-date-format="YYYY-MM-DD" data-tip="培训机构核查日期" data-rule=""  />
                            </div>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-status" class="control-label col-xs-12 col-sm-2">状态:</label>
                        <div class="col-xs-12 col-sm-8" id="div-status" >                    
                            <input id="c-status" name="row[status]" type="hidden" value="{$row.status}">
                            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-status" data-yes="1" data-no="0">
                                <i class="fa fa-toggle-on text-success fa-flip-horizontal fa-2x"></i>
                            </a>
                            <div data-favisible="switch=1" class="p-3">已开户</div>                        </div>
                   </div>
                <div class="form-group layer-footer">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <div class="col-xs-12 col-sm-8">
                        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</form>

